package net.pimpas.report.processor.serviceprovider.impl;

import net.pimpas.framework.PimpasFramework;
import net.pimpas.report.processor.serviceprovider.ReportProcessorServiceProvider;
import net.pimpas.report.processor.serviceprovider.ReportProcessorServiceProviderFactory;

public class ReportProcessorServiceProviderFactoryImpl implements ReportProcessorServiceProviderFactory {
	
	public static ReportProcessorServiceProvider getReportProcessorServiceprovider(Object... params) {
		return new ReportProcessorServiceProviderFactoryImpl().getServiceProvider(params);
	}

	public ReportProcessorServiceProvider getServiceProvider(Object... params) {
		return (ReportProcessorServiceProvider) PimpasFramework.getCurrentInstance().getServiceProvider(ReportProcessorServiceProvider.class, params);
	}
}